package com.zqh.indeximgquery.controller;

import com.zqh.indeximgquery.service.IndextImgQueryService;
import com.zqh.myfmmall.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description :
 * @Author :kono淇杭哒、
 * @Create 2022-02-18 2:15
 */
@RestController
@RequestMapping("indeximg")
public class IndexImgQueryController{
    @Resource
    private IndextImgQueryService indextImgQueryService;

    @GetMapping("retrieveCurrent")
    public Result retrieveCurrent(){
        return indextImgQueryService.retrieveCurrent();
    }
}
